﻿using Jinjia.Core.BaseInfrastructure.BaseModel;
using SqlSugar;

namespace Jinjia.Approve.Entity.Entity.JJFlow
{
    ///<summary>
    ///jj_flow_instance_emp
    ///表jj_flow_instance_emp的实体类
    ///</summary>
    public class jj_flow_instance_emp : BaseEntity
    {
        /// <summary>
        /// 申请ID
        /// </summary>
        public int instance_id { get; set; }

        /// <summary>
        /// 节点ID
        /// </summary>
        public int node_id { get; set; }

        /// <summary>
        /// 审批人ID
        /// </summary>
        public int user_id { get; set; }

        /// <summary>
        /// 流程模板ID
        /// </summary>
        public int template_id { get; set; }

        /// <summary>
        /// 是否审批完成 0 否 1 是
        /// </summary>
        public int is_complete { get; set; }
        
        /// <summary>
        /// jj_flow_instance_emp_bak.id(转交前emp的id)
        /// </summary>
        public int source_emp_id { get; set; }

        [SugarColumn(IsIgnore = true)]
        public new int deleted { get; set; }
    }
}